<script type="text/javascript">
    //<![CDATA[

    var TP_JS = '__JS__';
    var TP_SKIN = '__SKIN__';
    var TP_IMAGES = '__IMAGES__';
    var TP_MEDIA = '__MEDIA__';
    var TP_PLAT = '__MEDIA__/snsplat/icon/';
    var TP_APP = '__APP__';
    var TP_URL = '__URL__';
    var TP_ROOT = '__ROOT__';

    var $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body');
    jQuery(
    function(){
        
        var act = "{$act}";
        var meth = "{$meth}";

        $('.App-'+act).addClass('active');
        $('.App-'+act+'-'+meth).addClass('active');
        
        $('.topmenu li').hover(
            function(){
                $(this).find('ul').show();
            },
            function(){
                $(this).find('ul').hide();
            }
        );
        $('.attribute ul').first().addClass('first');
        $('.attribute ul').last().addClass('last');
        $('.content-nav li').first().addClass('first');
        $('.content-nav li').last().addClass('last');

    });

    //]]>
</script>

